//
//  YZMTradeFilterView.h
//  YZMicroStock
//
//  Created by wangminhong on 16/5/30.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, YZFDetailFiterValue) {
    YZFDetailFiterValueAll,
    YZFDetailFiterValueBuy,
    YZFDetailFiterValueProfit,
    YZFDetailFiterValueDraw,
    YZFDetailFiterValueCharge,
};

@interface YZMTradeFilterView : UIView

@property (nonatomic, strong) void (^filterHandler)(NSInteger filter);
@property (nonatomic, strong) void (^hideHandler)();

- (void)loadButtonsForTypes: (NSArray *)types;
- (void)show;
- (void)hide;

@end
